package com.wxy.school.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 王祥宇
 * @projectName school
 * @packageName com.wxy.school.entity
 * @data 2023/3/26 17:40
 * @description: TODO
 * @version: 1.0
 */
@Data
public class RepairOrders implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String repairName;

    private String repairPhone;

    private String repairAddress;

    private String repairText;

    private String repairImage;

    private Integer repairStatus;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
}
